package cn.vehicle.domains.vo.req.sysUser;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "添加用户角色请求参数")
public class AddUserRoleReq {

    @Schema(name = "userId", description = "用户id")
    @NotNull(message = "用户id不能为空")
    private Long userId;

    @Schema(name = "roleIds", description = "角色id列表")
    @NotNull(message = "角色id列表不能为空")
    private List<Long> roleIds;
}
